package il.ac.tau.cg.ex3.entities.styles.drawables;

import il.ac.tau.cg.ex3.entities.styles.Color;

public class ColorDrawable implements Drawable
{
	private Color color;
	
	public ColorDrawable(Color color)
	{
		this.color = color;
	}
	
	@Override
	public Color sample(double x, double y)
	{
		return color.clone();
	}
}
